package com.xianyun.book.gatewayimpl.database;

import com.xianyun.book.gatewayimpl.database.dataobject.PayOrderDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author ytt
 */
@Mapper
public interface PayOrderMapper {
    /**
     * 保存
     * @param payOrder 支付订单
     */
    void save(PayOrderDO payOrder);

    /**
     * 修改
     * @param payOrder 支付订单
     */
    void update(PayOrderDO payOrder);
    /**
     * 根据支付ID获取支付订单详情
     * @return
     */
    PayOrderDO getPayOrderByPayId();
}
